package com.zxy.ziems.server.production.pojo.param;

/**
 * @Copyright (C),
 * @ClassName: AlarmCountDTO
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/4/23 14:27
 */

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 报警记录ID
 */
@Data

public class ProductionTableParam {
    /**
     * 开始时间
     */
    @NotBlank(message = "开始时间不能为空", groups = {ProductionTableParam.Select.class})
    private String start;

    /**
     * 结束时间
     */
    @NotBlank(message = "开始时间不能为空", groups = {ProductionTableParam.Select.class})

    private String end;


    /**
     * 查询时间类型
     */
    @NotBlank(message = "查询时间类型不能为空", groups = {ProductionTableParam.Select.class, ProductionTableParam.HisSelect.class})
    private String queryType;

    public interface Select {
    }

    public interface HisSelect {
    }
}
